package com.mwumz.third.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: wumz
 * @Date: 2020/7/2 15:29
 * @Version 1.0
 */
@SuppressWarnings("all")
@ConfigurationProperties(prefix = DispatcherProperties.PREFIX)
public class DispatcherProperties {

    public static final String PREFIX = "httpclient";
    private Integer connectionRequestTimeout;

    private Integer connectTimeout;

    private Integer socketTimeout;

    private Integer maxTotal;

    private Integer defaultMaxPerRoute;

    private Integer maxIdleTime;

    private String gaodeKey;

    private String gaodeUri;

    private String regeoPath;

    private String geoPath;

    private String convertToGDPath;

    public Integer getConnectionRequestTimeout() {
        return connectionRequestTimeout;
    }

    public void setConnectionRequestTimeout(Integer connectionRequestTimeout) {
        this.connectionRequestTimeout = connectionRequestTimeout;
    }

    public Integer getConnectTimeout() {
        return connectTimeout;
    }

    public void setConnectTimeout(Integer connectTimeout) {
        this.connectTimeout = connectTimeout;
    }

    public Integer getSocketTimeout() {
        return socketTimeout;
    }

    public void setSocketTimeout(Integer socketTimeout) {
        this.socketTimeout = socketTimeout;
    }

    public Integer getMaxTotal() {
        return maxTotal;
    }

    public void setMaxTotal(Integer maxTotal) {
        this.maxTotal = maxTotal;
    }

    public Integer getDefaultMaxPerRoute() {
        return defaultMaxPerRoute;
    }

    public void setDefaultMaxPerRoute(Integer defaultMaxPerRoute) {
        this.defaultMaxPerRoute = defaultMaxPerRoute;
    }

    public Integer getMaxIdleTime() {
        return maxIdleTime;
    }

    public void setMaxIdleTime(Integer maxIdleTime) {
        this.maxIdleTime = maxIdleTime;
    }

    public String getGaodeKey() {
        return gaodeKey;
    }

    public void setGaodeKey(String gaodeKey) {
        this.gaodeKey = gaodeKey;
    }

    public String getGaodeUri() {
        return gaodeUri;
    }

    public void setGaodeUri(String gaodeUri) {
        this.gaodeUri = gaodeUri;
    }

    public String getRegeoPath() {
        return regeoPath;
    }

    public void setRegeoPath(String regeoPath) {
        this.regeoPath = regeoPath;
    }

    public String getGeoPath() {
        return geoPath;
    }

    public void setGeoPath(String geoPath) {
        this.geoPath = geoPath;
    }

    public String getConvertToGDPath() {
        return convertToGDPath;
    }

    public void setConvertToGDPath(String convertToGDPath) {
        this.convertToGDPath = convertToGDPath;
    }

}
